<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace common\behavior;

use think\Request;

/**
 * 行为扩展：记录路由信息
 */
class RecordRequestRouteBehavior
{

    /**
     * 处理记录route
     * @param Request $request
     */
    public function run(Request &$request)
    {
        trace("REQUEST ROUTE [{$request->method()}] {$request->path()}", "INFO");
    }
}
